
/*!
 * =====================================================
 * FIT START Mobile Style - http://fit-start.co
 * @author: MoHanLan
 * =====================================================
 */

/* ! Style Check List
 * =====================================================
 * Utility
 * ====================
 *
 * =====================================================
 */
 
/**
 * ========================================
 * Utility
 * ========================================
 */
.bg-color-yellow {
  background: #fff190;
}

.icon-drop-down {
  margin: 0 .25rem;
  width: .75rem;
  height: .75rem;
  background: url(../image/basic/drop-down.png) no-repeat;
  background-size: cover;
}

.flex-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.flex-1 {
  -webkit-flex-shrink: 1;
  -ms-flex: 0 1 auto;
  -webkit-flex-shrink: 1;
  flex-shrink: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  justify-content: center;
  align-items: center;
}

.flex-shrink {
  -webkit-flex-shrink: 0;
  -ms-flex: 0 0 auto;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  justify-content: center;
  align-items: center;
}

.bar .save-button {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2.2rem;
  line-height: 2.2rem;
  color: #333;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 0;
  border-color: transparent;
  background: #fedc32;
}

.goals .goals-grid {
  padding: 1rem 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  font-size: .6rem;
}

.goals-grid .grid-item {
  width: 50%;
  padding: 0 .5rem;
  -webkit-box-flex: 1;
  -ms-flex: 1;
   flex: 1;
}

.goals .goals-title {
  margin: 0;
  font-size: .7rem;
}

.goals .grid-item {
  position: relative;
}

.goals .grid-item:first-child:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -.75rem;
  height: 1.5rem;
  width: 1px;
  background: #666;
}

.goals .grid-item p {
  margin: 0;
}

.basic-header,
.basic-item {
  position: relative;
  padding: 0;
  font-size: .6rem;
  background: #fff;
}

.basic-item:after {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  content: '';
  height: 1px;
  background: #d8d8d8;
}

.basic-header:after {
  background: transparent;
}

.basic-item .item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  padding: .25rem;
  min-height: 2.2rem;
  font-weight: 600;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.big-size {
  font-size: .75rem;
  font-weight: bold;
}

/**
 * ====================
 * Edit goal
 * ====================
 **/
.long-term-goal {
  padding: .75rem;
  font-size: .6rem;
  background: #fff;
}

.long-term-goal textarea {
  width: 100%;
  border: none;
}

.long-term-goal ::-webkit-input-placeholder {
  color: #999;
}

.goals-progress .progress-left {
  color: #999;
  line-height: 1.1;
  font-size: .7rem;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.goals-progress .progress-bar,
.goals-progress .progress-right {
  -webkit-flex-shrink: 0;
  -ms-flex: 0 0 auto;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 9rem;
}

.goals-progress .progress-right {
  width: 2.5rem;
  color: #333;
}

.goals-progress .progress-bar {
  position: relative;
  margin: 0 .5rem;
  height: 1.5rem;
  border: 1px solid transparent;
}

#bar-bg {
  height: .5rem;
  margin-top: .5rem;
  border:1px solid #ddd;
  border-radius:5px;
  background: #999;
  overflow:hidden;
}

#bar-bg-color {
  background:#ffde00;
  width: 0;
  height:10px;
  border-radius:5px;
}

#bar {
  width: .85rem;
  height: .85rem;
  background-color: #ffde00;
  border-radius: 100%;
  /* overflow:hidden; */
  position:absolute;
  left: 0;
  margin-left:-12px;
  border:1px solid #ffde00;
  top: .3rem;
  cursor:pointer;
}

.progress-tip {
  position: absolute;
  top: -1.2rem;
  left: 0;
  margin-left: -0.35rem;
  width: 1.4rem;
  height: 1rem;
  font-size: .6rem;
  color: #FEDC32;
  text-align: center;
  line-height: 1rem;
  border-radius: .25rem;
  background: rgba(44,44,44,.9);
}

.progress-tip:after {
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 50%;
  margin-left: -.3rem;
  border: .3rem solid transparent;
  border-top-color: rgba(44,44,44,.9);
}

.edit-content-block {
  border-bottom: 1px solid #ccc;
}

.edit-content-block .basic-item {
  background: #EFEFF4;
}

.edit-content-block .basic-header {
  background: #fff;
}

.edit-content-block .item {
  padding: 0;
  position: relative;
}

.edit-content-block .basic-header .item {
  padding: .25rem;
}

.edit-content-block .item input {
  position: relative;
  width: 100%;
  min-height: 2.2rem;
  text-align: center;
  border: none;
  background: transparent;
  z-index: 2;
}

.edit-content-block .item input:active,
.edit-content-block .item input:focus {
  background: #fff;
}

.edit-content-block .picker {
  padding-right: .25rem;
}

.edit-content-block .item .icon {
  position: absolute;
  top: 50%;
  margin-top: -.25rem;
  right: 0;
  z-index: 1;
}

/**
 * ====================
 * result
 * ====================
 **/
.basic-table .item,
.target-course .item {
  font-size: .6rem;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.basic-table .flex-shrink,
.target-course .flex-shrink {
  -webkit-flex-shrink: 0;
  -ms-flex: 0 0 auto;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  flex: inherit;
  padding: 0 .5rem;
  width: 2.9rem;
  font-size: .6rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  justify-content: center;
  align-items: center;
}

.target-course .flex-shrink {
  width: 4rem;
}

.change-table {
  width: 100%;
  text-align: center;
  font-size: .65rem;
}

.change-table td {
  width: 20%;
  padding: .5rem 0;
  border-bottom: 1px solid #d8d8d8;
  background: #fff;
}

.change-table .detail-link,
.summary-item .detail-link {
  display: block;
  color: #333;
  font-size: .6rem;
  text-align: center;
  text-decoration: underline;
}

.summary-grid {
  font-size: .7rem;
  text-align: center;
  background: #fff;
}

.summary-grid .summary-item {
  position: relative;
  height: 12rem;
  padding: .5rem .75rem;
}

.summary-grid .summary-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #d8d8d8;
}

.summary-grid .summary-item:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 1px;
  background: #d8d8d8;
}

.summary-grid .description {
  height: 7rem;
  margin-bottom: .5rem;
  overflow-y: hidden;
}

.summary-grid .summary-title {
  margin: 0;
  font-size: .85rem;
}

.basic-item:nth-child(even) .flex-shrink,
.weekly-plan-exercise .basic-item:nth-child(odd) .flex-shrink,
.exercise-plan .basic-item:nth-child(even) .flex-shrink {
  background: #fff190;
}

.basic-item:nth-child(odd) .flex-shrink,
.weekly-plan-exercise .basic-item:nth-child(even) .flex-shrink,
.exercise-plan .basic-item:nth-child(odd) .flex-shrink {
  background: #eeeeee;
}

.basic-header .flex-shrink {
  background: #fff !important;
}

/**
 * ====================
 * weekly plan
 * ====================
 **/
.course-tab .button {
  background: #eee;
}

.course-tab .button.active {
  color: #333;
  border-bottom-color: transparent;
  background: #fff190;
}

.weekly-plan .basic-item {
  display: flex;
}

.weekly-item .item {
  flex: 1;
}

.weekly-plan .flex-shrink {
  width: 4rem;
  padding: .25rem .75rem;
}

.exercise-plan .item {
  padding-right: .75rem;
}

.exercise-plan .exercise {
  flex: 1;
}

.exercise-plan .alink {
  width: 2rem;
  color: #333;
  text-decoration: underline;
}

/**
 * ====================
 *  student evaluation
 * ====================
 **/
 
.evaluation-bar .bar-nav {
  background: #eeeeee;
}

.evaluation-box {
  position: relative;
  background: #bfbfbf;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  box-sizing: border-box;
}

.evaluation-box ul {
  border-top: 0;
  border-bottom: 0;
}

.evaluation-box .sup-time:before,
.evaluation-box .other-food:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
  display: block;
  z-index: 15;
}

.evaluation-box ul:before, 
.evaluation-box ul:after,
.evaluation-box .sup-time:before,
.evaluation-box .other-food:before {
  background: #999;
  -webkit-transform: scaleY(.25);
  transform: scaleY(.25);
}

.evaluation-box:nth-child(odd) {
  background: #dcdcdc;
}

.evaluation-box:nth-child(even) {
  background: #bfbfbf;
}

.evaluation-title {
  width: 3rem;
  padding: .25rem .5rem;
  line-height: 1.4;
  font-size: .8rem;
  text-align: center;
}

.evaluation-group {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 2.2rem;
  overflow: hidden;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
}

.evaluation-group ul {
  width: 100%;
  padding: 0;
  background: #eee;
}

.evaluation-group a {
  color: #333;
}

.evaluation-group .item-content {
  padding-left: 0;
}

.evaluation-group .item-title {
  padding: 0 .25rem;
  width: 100%;
  font-size: .75rem;
  text-align: center;
}

.evaluation-group .item-inner {
  padding-right: 0;
}

.evaluation-group .item-inner:after {
  background: #999;
}

.evaluation-group .item-after,
.evaluation-group .item-input,
.evaluation-box .other-food.item-after {
  position: relative;
  padding:.25rem 1rem .25rem .25rem;
  width: 6rem;
  max-height: initial;
  color: #333;
  font-size: .7rem;
  white-space: pre-wrap;
  justify-content: flex-end;
}

.evaluation-group .item-input {
  width: 6rem;
  margin-top: 0;
  margin-bottom: 0;
  -webkit-flex-shrink: 0;
  -ms-flex: 0 0 auto;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.evaluation-group .item-after:before,
.evaluation-group .item-input:before,
.evaluation-box .other-food.item-after:after {
  position: absolute;
  top: 50%;
  right: .5rem;
  color: #b0b0b2;
  font-size: .7rem;
  font-family: "iconfont-sm" !important;
  font-style: normal;
  display: inline-block;
  vertical-align: middle;
 /*  content: "\e613"; */
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.evaluation-group .item-input input,
.evaluation-group .item-inner input{
  display: inline-block;
  height: 1rem;
  width: 100%;
  font-size: .65rem;
  text-align: center;
}

.evaluation-group .class-title {
  font-size: .7rem;
  padding: .6rem 0;
  text-align: center;
  background: #ffffff;
}

.ev-subtitle {
  padding: .5rem 0;
  margin: 0;
  color: #333;
  font-size: .85rem;
  text-align: center;
}

.evaluation-box .early-time,
.evaluation-box .sleep-time,
.evaluation-box .frequency {
  position: relative;
  font-size: .65rem;
  min-height: 2.2rem;
}

.evaluation-box .icon-down {
  font-size: .6rem;
  margin-left: 2px;
}

.evaluation-box .early-time,
.evaluation-box .frequency,
.evaluation-box .other-food {
  position: relative;
  width: 6rem;
  min-height: 2.2rem;
}

.evaluation-box .frequency {
  padding-left: 0;
}

.evaluation-box .other-food {
  background: #dcdcdc;
}

.evaluation-box .early-time input,
.evaluation-box .sleep-time input,
.evaluation-box .frequency input,
.evaluation-box .sup-time input{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
}

.evaluation-box .sleep-time,
.evaluation-box .sup-time,
.evaluation-box .sup-time .item {
  position: relative;
  width: 100%;
}

.evaluation-box .sleep-time,
.evaluation-box .sup-time .item:nth-child(2) {
  background: #fff;
}

.evaluation-box .sup-time .item {
  font-size: .75rem;
  height: 100%;
}

.evaluation-box .sup-time a {
  color: #333;
}

.evaluation-box .sup-time .item:nth-child(1),
.evaluation-box .sup-time .item:nth-child(3) {
  background: #eeeeee;
}

.edit-button,
.edit-button .iconfont {
  color: #333;
  font-size: 1rem;
}

/**
 * ====================
 * Edit Change
 * ====================
 **/
.edit-change-box .item-label {
  min-width: 5.1rem;
  font-size: .8rem;
}

.bwh-edit-box .item-label,
.flexibility .item-label,
.habit-box .item-label,
.joint-box .item-label {
  font-size: .8rem;
}

.bwh-edit-box .item-input,
.bwh-edit-box .item-input input,
.bwh-edit-box .item-input textarea,
.edit-change-box .item-input,
.edit-change-box .item-input input,
.edit-change-box .item-input textarea,
.habit-box .item-input input,
.habit-box .item-input textarea,
.basic-test-box .item-input,
.basic-test-box .item-input input,
.basic-test-box .item-input textarea,
.joint-box .item-input input {
  font-size: .65rem;
}

.habit-box .item-label,
.joint-box .item-label {
  min-width: 4rem;
}

.basic-test-box .item-label {
  font-size: .8rem;
  min-width: 8rem;
}

.evaluation-picker .button-link {
  color: #444;
}

.coursesare-home > a {
  display: block;
  width: 100%;
  height: 20%;
}
.coursesare-home a img{
  display: block;
  min-width: 100%;
  height: 100%;
}